package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.AssginMenuDto;

import java.util.Map;

/**
 * ClassName: SysRoleMenuService
 * Package: com.atguigu.spzx.manager.service
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/3 16:33
 * @Version 1.0
 */

public interface SysRoleMenuService {
    /**
     * 根据角色id查询拥有的菜单 并且查询所有的菜单
     * @param roleId
     * @return
     */
    Map<String, Object> findSysRoleMenuByRoleId(Long roleId);

    /**
     * 给角色分配菜单
     * @param assginMenuDto
     */
    void doAssign(AssginMenuDto assginMenuDto);

}
